//
//  Store.h
//  iFoundIt
//
//  Created by Navid Shariat on 24/05/10.
//  Copyright 2010 QUT. All rights reserved.
//

#import <CoreData/CoreData.h>
#import <CoreLocation/CoreLocation.h>


@interface Store :  NSObject  
{
	NSString * shopName;
	NSInteger storeId;
	double longtitude;
	double latitude;
	NSString * seachKeywords;
	double distance;
}

@property (nonatomic, retain) NSString * shopName;
@property (nonatomic) NSInteger storeId;
@property (nonatomic) double longtitude;
@property (nonatomic) double latitude;
@property (nonatomic, retain) NSString * seachKeywords;
@property (nonatomic, readwrite) double distance;

- (CLLocationCoordinate2D) getCoordinate;
- (CLLocation*) getLocation;
-(double) getDistanceFrom: (CLLocation *) fromLocation;
@end



